package com.aftersale.demo.service;

import com.aftersale.demo.entity.Project;
import com.aftersale.demo.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 */
public interface ProjectService extends IService<Project> {

    Result addproject(Project project);

    Result deleteProject(int projectId);

    Result getProject(int userId,Integer pageNum,Integer pageSize);

    Result updateProject(Project project);

    Result selectProject(int userId, String name,Integer pageNum,Integer pageSize);

    Result selectProjects(String name, Integer pageNum, Integer pageSize);
}
